Search results

1458 packages found

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

published 6.0.0 a year ago
M
Q
P

The random-string-generator-library is a lightweight utility library for generating random strings in Node.js or browser environments. It provides a simple function for creating strings with a specified length, using a customizable character set.

published 1.0.0 4 months ago
M
Q
P

Get the UTF-8 byte length of a string

published 3.0.0 6 months ago
M
Q
P

Creates random alphanumeric hash strings with given length

published 2.0.0 a year ago
M
Q
P

Crop array of ranges when they go beyond the reference string's length

published 6.0.16 a month ago
M
Q
P
M
Q
P

Zeropad your positive integers.

published 1.0.5 8 years ago
M
Q
P

This module is small but easy to use. The purpose of this module is to check if a target string is longer than the source string, it can optionally also check if the source and target is the same length.

published 1.0.8 2 years ago
M
Q
P

Shorten string by character length with word boundary supported

published 1.0.18 6 years ago
M
Q
P

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

published 2.0.5 18 hours ago
M
Q
P

Get the length of unicode strings

published 2.1.0 2 years ago
M
Q
P

Generates a secure random string with a given length

published 1.1.3 4 years ago
M
Q
P

Encoding 53-bit Integers using character sets of arbitrary length and order

published 1.0.0 8 years ago
M
Q
P

Like `string.slice()` but bytewise

published 3.0.0 6 months ago
M
Q
P

The Chapman Length Deviation algorithm implementation

published 1.0.4 4 years ago
M
Q
P

Generate a random token of any length

published 2.0.0 6 years ago
M
Q
P

Over-engineered string truncation for web UI's

published 2.0.18 3 months ago
M
Q
P

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

published 1.0.6 18 hours ago
M
Q
P

Get the real byte length of a string.

published 1.0.2 7 years ago
M
Q
P

add characters to the left of a string such that its total length is n

published 3.2.0 a year ago
M
Q
P